package com.shared.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;

import java.io.Serializable;

/**
 * (PGoodsCart)实体类
 *
 * @author makejava
 * @since 2020-06-19 11:19:39
 */
@ApiModel(value = "PGoodsCart", description = "购物车")
public class PGoodsCart implements Serializable {
    private static final long serialVersionUID = -81952451552740132L;

    @ApiModelProperty(value = "[自动增长]主键")
    private Integer id;
    /**
     * 商品ID
     */
    @ApiModelProperty(value = "[必填]商品id")
    private Integer goodsid;
    /**
     * 用户ID
     */
    @ApiModelProperty(value = "[必填]用户id")
    private Integer userid;
    /**
     * 图片
     */
    @ApiModelProperty(value = "[必填]商品图片")
    private String img;
    /**
     * 标题
     */
    @ApiModelProperty(value = "[必填]商品标题")
    private String name;
    /**
     * 价格
     */
    @ApiModelProperty(value = "[必填]商品价格")
    private Double price;
    /**
     * 数量
     */
    @ApiModelProperty(value = "[必填]商品数量")
    private Integer number;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(Integer goodsid) {
        this.goodsid = goodsid;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

}